<!-- 系统自动生成 Date:2021-06-11 10:29 -->
<#include "/common/defaultEngine.html"/>
<@pageTheme mark="${config.optimize()?string('true', 'false')}">
<@header title="修改【请填写功能名称】" bodyClass="white-bg" libs=["bootstrapSelect"]/>
<div class="wrapper wrapper-content ibox-content">
<@f.form id="form-spu-edit"  class="form-horizontal">
    <@f.hidden name="pkId" value="${spu.pkId?default('')}"/>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "addTime"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="addTime" value="${spu.addTime?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "brandId"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="brandId" value="${spu.brandId?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "classifyOne"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="classifyOne" value="${spu.classifyOne?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "classifyOneName"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="classifyOneName" value="${spu.classifyOneName?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "classifyThree"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="classifyThree" value="${spu.classifyThree?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "classifyThreeName"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="classifyThreeName" value="${spu.classifyThreeName?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "classifyTwo"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="classifyTwo" value="${spu.classifyTwo?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "classifyTwoName"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="classifyTwoName" value="${spu.classifyTwoName?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "firstName"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="firstName" value="${spu.firstName?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "imgsCover"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="imgsCover" value="${spu.imgsCover?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "isHomeShow"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="isHomeShow" value="${spu.isHomeShow?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "itemStatus"/>：
        </label>
        <div class="col-sm-8">
            <div class="radio-box">
                <input type="radio" name="itemStatus" value=""/><span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
            </div>
        </div>
    </div>
     <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "name"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="name" value="${spu.name?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "shopId"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="shopId" value="${spu.shopId?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "spuComments"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="spuComments" value="${spu.spuComments?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "spuSales"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="spuSales" value="${spu.spuSales?default('')}"   />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label">
            <@ctx.i18n text = "spuVisits"/>：
        </label>
        <div class="col-sm-8">
            <@f.input name="spuVisits" value="${spu.spuVisits?default('')}"   />
        </div>
    </div>
</@f.form>
</div>
<@footer>
<script type="text/javascript">
    var prefix = baseURL + "/spu";
    /**表单验证*/
    <@compress single_line=true>
    $("#form-spu-edit").validate({
        focusCleanup: true
    });
    </@compress>

    /**
     * 点击确定回调事件
     */
    function submitHandler() {
        if (opt.validate.form()) {
            opt.operate.save(prefix + "/edit", $('#form-spu-edit').serialize());
        }
    }
</script>
</@footer>
</@pageTheme>
